package mes.operator.service;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;

import mes.operator.dao.OperatorDAO;
import mes.operator.dto.ComponentDTO;
import mes.operator.dto.EmployeeDTO;
import mes.operator.dto.MachineDTO;

public interface OperatorManageService {
	
	public void OperatorManageServiceImpl(OperatorDAO dao);
	public EmployeeDTO login(EmployeeDTO dto) throws SQLException;
	public int getComponentCount(String component_name) throws SQLException;
	public void insertComponent(ComponentDTO cdto) throws SQLException;
	public ArrayList<ComponentDTO> getComponentInfo(String component_name, int cnt) throws SQLException;
	public void setMachineAInfo(ArrayList<ComponentDTO> componentList, int i) throws SQLException;
	public void setMachineBInfo(ArrayList<ComponentDTO> componentList, int i) throws SQLException;
	public void setMachineCInfo(ArrayList<ComponentDTO> componentList, int i) throws SQLException;
	public void insertComponentNum(String component_name) throws SQLException;
	public ArrayList<MachineDTO> getAllMachineByName(String machineName) throws SQLException;
	public ArrayList<MachineDTO> getIsFaultMachineByName(String string) throws SQLException;
}
